package com.heima.feign.apUser;

import com.heima.model.user.pojos.ApUserFollow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: JW
 * @Description: TODO
 * @DateTime: 2022-02-20 19:03
 **/
@FeignClient(value = "leadnews-user")
public interface ApUserFollowClient {

    @GetMapping("/api/v1/user/user_getFollow/{userId}/{authorId}")
    ApUserFollow getFollowInfo(@PathVariable Integer userId, @PathVariable Integer authorId);

}
